﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="SaleCountForm.aspx.cs" Inherits="App_Input_SaleCountForm" Title="销售记录" %>

<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>
<%@ Register TagPrefix="shpm" TagName="TipBar" Src ="~/App/Input/SaleProcessTipBar.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script language="javascript" type="text/javascript">
        function openRoomSearch(controlId){
            var url  = "../Commons/RoomSearchForm.aspx";
	        var prm  = "?tID=" + controlId;
	        url += prm;
	        var win = window.open(url,'RoomSearchForm','scrollbars,resizable');
	        win.focus();
        }
        
        function settext(id,val){    
            window.document.getElementById(id).value = val;
        }
        
        // confirm ok
       
        
        // 
//        function disp(show){
//        //alert(document.getElementById("subMenu02").style.display);return;            
//            if (1 == show){            
//                document.getElementById("subMenu02").style.display = "block";
//            } else {
//                if (event.x > 30 && event.x < 550
//                    && event.y > 55 && event.y < 90){
//                    document.getElementById("subMenu02").style.display = "block";
//                } else {
//                    document.getElementById("subMenu02").style.display = "none";
//                }
//            }
//        }
    </script>

    <div>
        <div id="container">
            <div id="title">
                <ul>
                    <li id="tag1"  style="display:none;">
                        <asp:LinkButton ID="LinkButton1" OnCommand="lnkTab_Command" CommandName="btn0" runat="server"
                            Enabled="false" Width="105px"><span>新建销售档案</span></asp:LinkButton>
                    </li>
                    <li id="tag2">
                        <asp:LinkButton ID="LinkButton2" OnCommand="lnkTab_Command" CommandName="btn1" runat="server"
                            CssClass="selectli" OnClientClick="return false;"><span class="selectspan">销售记录</span></asp:LinkButton>
                    </li>
                    <li id="tag4">
                        <asp:LinkButton ID="LinkButton4" OnCommand="lnkTab_Command" CommandName="btn3" runat="server" Width="95px"><span>权益人管理</span></asp:LinkButton>
                    </li>
                    <li id="tag3">
                        <asp:LinkButton ID="LinkButton3" OnCommand="lnkTab_Command" CommandName="btn2" runat="server"><span>会员管理</span></asp:LinkButton>
                    </li>
                    <li id="Li6">
                        <asp:LinkButton ID="LinkButton9" OnCommand="lnkTab_Command" CommandName="btn6" runat="server" Width="105px"><span>入住资格审核</span></asp:LinkButton>
                    </li>
                    <li id="tag5">
                        <asp:LinkButton ID="LinkButton5" OnCommand="lnkTab_Command" CommandName="btn4" runat="server"><span>会员入住</span></asp:LinkButton>
                    </li>
                </ul>
            </div>
                <cc1:ComValidator ID="ComValidator1" runat="server" CheckItems-Capacity="4" ForeColor="White">
                    <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="txtName">
                        <cc1:ComAbsParamsAttribute Parameter="姓名" />
                    </cc1:CheckRequiredAttribute>
                    <cc1:CheckLongAttribute Code="E0322" ControlToValidator="txtAge">
                        <cc1:ComAbsParamsAttribute Parameter="年龄" />
                    </cc1:CheckLongAttribute>
                    <cc1:CheckLongMoreAttribute Code="E0065" ControlToValidator="txtAge" More="18">
                        <cc1:ComAbsParamsAttribute Parameter="年龄" />
                        <cc1:ComAbsParamsAttribute Parameter="18" />
                        <cc1:ComAbsParamsAttribute Parameter="150" />
                    </cc1:CheckLongMoreAttribute>
                    <cc1:CheckLongLessAttribute Code="E0065" ControlToValidator="txtAge" Less="150">
                        <cc1:ComAbsParamsAttribute Parameter="年龄" />
                        <cc1:ComAbsParamsAttribute Parameter="18" />
                        <cc1:ComAbsParamsAttribute Parameter="150" />
                    </cc1:CheckLongLessAttribute>
                </cc1:ComValidator>
                <cc1:ComValidator ID="ComValidator2" runat="server" ForeColor="White">
                </cc1:ComValidator>
                <div id="Div3" class="content1">
                <shpm:TipBar runat="server" ID="tipBar" />
                    <table width="100%">
                        <tr>
                            <td class="" style="height: 202px">
                                <table class="table_border_line" id="TABLE1">
                                    <tr style="display: none">
                                        <td style="width: 24px;  height: 28px;">
                                        </td>
                                        <td align="right" style="width: 120px;  height: 28px;">
                                            销售编号：</td>
                                        <td align="left" style="width: 280px;  height: 28px;" valign="middle">
                                            &nbsp;
                                            <asp:Label ID="lblProcId" runat="server"></asp:Label></td>
                                        <td align="right" style=" width: 120px; height: 28px;" valign="middle">
                                            </td>
                                        <td align="left" colspan="1" style="width: 280px; height: 28px; " valign="middle">
                                            &nbsp;
                                        </td>
                                        <td align="left" colspan="1" style="width: 200px; height: 28px; ">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 24px;  height: 28px;">
                                            <br />
                                        </td>
                                        <td align="right" class="" style="width: 120px; height: 28px;">
                                            接待员工：</td>
                                        <td align="left" style="width: 280px; height: 28px;" valign="middle">
                                            &nbsp;
                                            <asp:Label ID="lblEmpId" runat="server"></asp:Label></td>
                                        <td align="right" style=" width: 120px; height: 28px;" valign="middle">
                                            阶段：</td>
                                        <td align="left" colspan="1" style="width: 280px; height: 28px;" valign="middle">
                                            &nbsp;
                                        <asp:Label ID="lblStatus" runat="server"></asp:Label></td>
                                        <td align="left" colspan="1" style="width: 200px;  height: 28px;">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 24px; height: 28px">
                                        </td>
                                        <td align="right" class="" style="width: 120px; height: 28px">
                                            意向程度：</td>
                                        <td align="left" style="height: 28px" valign="middle" colspan="3">
                                            &nbsp;<asp:RadioButtonList ID="lstIntent" runat="server" RepeatDirection="Horizontal"
                                                RepeatLayout="Flow" ForeColor="Maroon">
                                            </asp:RadioButtonList></td>
                                        <td align="left" colspan="1" style="width: 200px; height: 28px">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 24px;  height: 28px;">
                                            &nbsp;</td>
                                        <td class="" nowrap style=" width: 120px; height: 28px;" align="right">
                                            <span style="color: #ff7300">*</span>客户姓名：</td>
                                        <td style=" width: 280px; height: 28px;" valign="middle">
                                            &nbsp;
                                            <asp:TextBox ID="txtName" runat="server" MaxLength="20" Width="150px"></asp:TextBox></td>
                                        <td align="right" style=" width: 120px; height: 28px;" valign="middle">
                                            性别：</td>
                                        <td align="left" colspan="1" style="width: 280px;  height: 28px;" valign="middle">
                                            &nbsp;&nbsp;<asp:RadioButtonList ID="lstGender" runat="server" RepeatDirection="Horizontal"
                                                RepeatLayout="Flow">
                                            </asp:RadioButtonList></td>
                                        <td align="left" colspan="1" style="width: 200px;  height: 28px;">
                                            &nbsp;
                                            </td>
                                    </tr>
                                    <tr >
                                        <td style="width: 24px; height:28px;">
                                        </td>
                                        <td class="" style=" width: 120px; height: 28px;" align="right">
                                            客户来源：</td>
                                        <td style=" width: 280px; height: 28px;" valign="middle">
                                            &nbsp;
                                            <asp:DropDownList ID="lstCusFrom" runat="server" Width="150px">
                                            </asp:DropDownList></td>
                                        <td align="right" style=" width: 120px; height: 28px;" valign="middle">
                                            年龄：</td>
                                        <td align="left" colspan="1" style="width: 280px;  height: 28px;" valign="middle">
                                            &nbsp;
                                            <asp:TextBox ID="txtAge" runat="server" MaxLength="3" Style="text-align: left" Width="150px"></asp:TextBox></td>
                                        <td align="left" colspan="1" style="width: 200px;  height: 28px;">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 24px; height:28px;">
                                        </td>
                                        <td class="" style=" width: 120px; height: 28px;" align="right">
                                            联系电话：</td>
                                        <td style=" width: 280px; height: 28px;" valign="middle">
                                            &nbsp;
                                            <asp:TextBox ID="txtTel" runat="server" MaxLength="32" Width="150px"></asp:TextBox></td>
                                        <td align="right" style=" width: 120px; height: 28px;" valign="middle">
                                            传真：</td>
                                        <td align="left" colspan="1" style="width: 280px;  height: 28px;" valign="middle">
                                            &nbsp;
                                            <asp:TextBox ID="txtFax" runat="server" MaxLength="32" Width="150px"></asp:TextBox></td>
                                        <td align="left" colspan="1" style="width: 200px;  height: 28px;">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 24px; height: 28px">
                                        </td>
                                        <td align="right" class="" style="width: 120px; height: 28px">
                                            邮件地址：</td>
                                        <td colspan="3" style="height: 28px" valign="middle">
                                            &nbsp;
                                            <asp:TextBox ID="txtMail" runat="server" MaxLength="100" Width="515px"></asp:TextBox></td>
                                        <td align="left" colspan="1" style="width: 200px; height: 28px">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 24px; height: 28px">
                                        </td>
                                        <td align="right" class="" style="width: 120px; height: 28px">
                                            联系地址：</td>
                                        <td colspan="3" style="height: 28px" valign="middle">
                                            &nbsp;
                                            <asp:TextBox ID="txtAddress" runat="server" MaxLength="100" Width="515px"></asp:TextBox></td>
                                        <td align="left" colspan="1" style="width: 200px; height: 28px">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 24px; height:28px;">
                                        </td>
                                        <td class="" style=" width: 120px; height: 28px;" align="right">
                                            购卡类型：</td>
                                        <td style=" height: 28px;" valign="middle" colspan="3">
                                            &nbsp;
                                            <asp:RadioButtonList ID="lstCardType" runat="server" RepeatDirection="Horizontal"
                                                RepeatLayout="Flow">
                                            </asp:RadioButtonList></td>
                                        <td align="left" colspan="1" style="width: 200px;  height: 28px;">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 24px; height:28px">
                                        </td>
                                        <td class="" style=" width: 120px; height: 28px;" align="right">
                                            预订房间：</td>
                                        <td style=" width: 280px; height: 28px;" valign="middle">
                                            &nbsp;
                                            <asp:TextBox ID="txtRoomNo" runat="server" MaxLength="6" Width="68px"></asp:TextBox>
                                            <input id="Button1"  type="button" value="选择房间" onclick="javascript:openRoomSearch('<%=txtRoomNo.ClientID%>');""/></td>
                                        <td align="right" style=" width: 120px; height: 28px;" valign="middle">
                                            预订日期：</td>
                                        <td align="left" colspan="1" style="width: 280px;  height: 28px;" valign="middle">
                                            &nbsp;
                                            <asp:TextBox ID="txtIntentDate" runat="server" MaxLength="10" Width="150px"
                                                onfocus="new Calendar(1900,2015,0,null).show(this);"></asp:TextBox></td>
                                        <td align="left" colspan="1" style="width: 200px;  height: 28px;">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 24px;  height: 6px;">
                                        </td>
                                        <td class="" style=" width: 120px; height: 6px;" align="right">
                                            </td>
                                        <td style=" width: 280px; height: 6px;" valign="middle">
                                            &nbsp;</td>
                                        <td align="right" style=" width: 120px; height: 6px;" valign="middle">
                                        </td>
                                        <td align="left" colspan="1" style="width: 280px;  height: 6px;" valign="middle">
                                        </td>
                                        <td align="left" colspan="1" style="width: 200px;  height: 6px;">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 24px; height:25px ">
                                        </td>
                                        <td class="" style=" height: 25px;" align="center" colspan="4">
                                <asp:Button ID="btnOk" runat="server" Text="保存" OnClientClick="javascript:return confirmSubmit();"
                                    OnClick="btnOk_Click" Width="75px" />&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;<asp:Button ID="btnClr" runat="server" Text="重填" OnClick="btnClr_Click" Width="75px" />&nbsp;
                                &nbsp;&nbsp; &nbsp;<asp:Button ID="modify" runat="server" OnClick="modify_Click" Text="修改" Width="75px" /></td>
                                        <td align="left" colspan="1" style="width: 200px;  height: 10px;">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <br />
                    <table class="" width="100%">
                        <tr>
                            <th align="right" colspan="7" style="text-align: left">
                                <script language="javascript">
                                    (new TitleBar('MasterMemberBar', '营销记录')).showBar();
                                </script>
                            </th>
                        </tr>
                        <tr>
                            <td align="right" style="width:15%; height: 26px; text-align: center">
                            </td>
                            <td style="width: 35%; text-align: center; height: 26px;" align="right">
                                <asp:LinkButton ID="lbtnTel" runat="server" OnClick="lbtnTel_Click" Font-Underline="True">日常交流记录（点击查看详细信息）</asp:LinkButton></td>
                            <td style="white-space: nowrap; width: 20%; text-align: center; height: 26px;">
                                <asp:Label ID="lblTel" runat="server"></asp:Label>
                            </td>
                            <td style="width: 30%; text-align: center; height: 26px;">
                                </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 15%; height: 26px; text-align: center">
                            </td>
                            <td style="width: 35%; text-align: center;height: 26px;" align="right">
                                <asp:LinkButton ID="lbtnVst" runat="server" OnClick="lbtnVst_Click" Font-Underline="True">上门拜访记录（点击查看详细信息）</asp:LinkButton></td>
                            <td style="width: 20%; text-align: center;height: 26px;">
                                <asp:Label ID="lblVst" runat="server"></asp:Label></td>
                            <td style="width: 30%; text-align: center;height: 26px;">
                                </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 15%; height: 26px; text-align: center">
                            </td>
                            <td style="width: 35%; text-align: center;height: 26px;" align="right">
                                <asp:LinkButton ID="lbtnGift" runat="server" OnClick="lbtnGift_Click" Font-Underline="True">礼品发放记录（点击查看详细信息）</asp:LinkButton></td>
                            <td style="width: 20%; text-align: center;height: 26px;">
                                <asp:Label ID="lblGift" runat="server"></asp:Label></td>
                            <td style="width: 30%; text-align: center;height: 26px;">
                                </td>
                        </tr>
                    </table>
                </div>
        </div>
</asp:Content>
